- One of the best pool-cleaning robots I've tested is $450 off for Prime Day
- Apple's M2 MacBook Air is on sale for $749 for Black Friday
- I replaced my desktop with this MSI laptop for a week, and it surpassed my expectations
- AI networking a focus of HPE’s Juniper deal as Justice Department concerns swirl
- 3 reasons why you need noise-canceling earbuds ahead of the holidays (and which models to buy)
Cisco TCL script base commands
Run script
!define where the scripts will be stored
event manager directory user policy flash: OR event manager directory user policy flash:/eempolicy/
load script
copy tftp://10.64.1.2/rtpstreams.tcl flash:
Register script
event manager policy rtpstreams.tcl
when change made them after you reload the script you need to re-register it is well
no event manager policy rtpstreams.tcl
event manager policy rtpstreams.tcl
Run it
tcls flash:sipcount.tcl
OR
tcls
source flash:sipcount.tcl
debug
debug event manager detector ? !turn on debug for an event that your wrtiting the script for
debug event manager action cli
show
router#show event manager history events !see if a script has been excecuted
router#show processes cpu | include Tcl !show tcl scripts been currently executed
router#show event manager statistics detector
router#show event manager version
code snippets
!pass a command to cli that requires it to be confirm eg. clear logging or clear counters
action 80.0 cli command “clear logging” pattern “confirm”
action 81.0 cli command “y”